﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Globalization;
using System.Threading;

namespace WcfServiceDayOfWeek
{  
    public class ServiceDayOfWeek : IServiceDayOfWeek
    {  
        public string GetDayOfWeek(DateTime value)
        {
            string dayOfWeek = String.Empty;
            CultureInfo bgCultureInfo= new CultureInfo("bg-BG");
            dayOfWeek = value.ToString("dddd", bgCultureInfo);   // Displays Wednesday
            return dayOfWeek;
        }
    }
}
